package com.muhuahealth.dao;

import com.muhuahealth.entity.BridgeEntity;
import com.muhuahealth.utils.PageQueryUtil;
import com.muhuahealth.utils.ServerResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author GSK
 * @version 1.0
 * @date 2021/1/24 18:09
 */
@Repository
public interface BridgeDao {

    List<BridgeEntity> findBridgeListPage(PageQueryUtil queryUtil);

    int getTotalPage(PageQueryUtil queryUtil);

    int saveBridgeInfo(BridgeEntity bridgeEntity);

    BridgeEntity selectByPrimaryKey(Integer id);

    int updateBridgeInfoById(BridgeEntity bridgeEntity);

    int deleteById(Integer id);

    ServerResponse researchBridgeInfo(BridgeEntity bridgeEntity);
}
